package com.kaiy.smartfire.gate.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * @Package_name: com.github.wxiaoqi.security.gate.config
 * @Description: 视图View层
 * @author kaiy
 * @create 2017-05-5
 */
@Configuration
public class WebViewMvcConfig extends WebMvcConfigurerAdapter{
    @Override
    public void addViewControllers(ViewControllerRegistry registry) {
        registry.addViewController("/login").setViewName("login");
    }
}
